package wyu.service.feign;

import com.dto.Result;
import com.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-provider")
public interface UserFeign {
    @GetMapping("/user/getUserByUname")
    User getUserByUname(@RequestParam("uName")String uName);
}
